<template>
  <div class="common-layout">
    <el-container>
      <Aside />
      <el-container>
        <el-header>
          <Header />
        </el-header>
        <el-main>
          <RouterView />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import Aside from "../components/aside.vue";
import Header from "../components/navHeader.vue";
</script>

<style>
.el-header {
  padding: 0;
}
.el-main {
  height: calc(100vh - 60px) !important;
  overflow: auto !important;
  background-color: #f5f5f5;
}
</style>